$(function () {
    init_exportcustomer_tab();
});
/**初始化客户**/
function init_exportcustomer_tab(){
    var settings = {
        url: ctx + "bigEpResoure/exportbatchUser",
        queryParams: function(params) {
            return {
                pageSize: params.limit,
                pageNum: params.offset / params.limit + 1,
                ipRecordIds:$("#selectExport").val()
            };
        },
        columns: [{
            checkbox: true
        }, {
            field: 'bpName',
            title: '客户名称',
            class:'text-center',

        }, {
            field: 'bpColleges',
            title: '所属院校'
        }, {
            field: 'bpMajor',
            title: '专业'
        }, {
            field: 'bpYear',
            title: '入学年份'
        }, {
            field: 'bpDirector',
            title: '所属专员'
        }],
        onLoadSuccess:function (data) {
            var json = data.condition;
            $("#daziyuan").text(json.B);$("#collage").text(json.U);
            $("#chushiyixiang").text(json.P);$("#yixiang").text(json.G);
            $("#drector").text(json.D);$("#acamey").text(json.A);$("#laiyuan").text(json.S);
            $("#daochumum").text(json.N);$("#dazoyuan").text(json.Y);$("#major").text(json.M);
            $("#addTime").text(json.ST+"-"+json.ET);
        }
    };
    $JuXue.initTable('export_batch_Table_tab', settings);
}



